import { VFC } from 'react';
import { Button, Popconfirm } from 'antd';
import { EditOutlined } from '@ant-design/icons';

export const Edit: VFC<{onClick: () => void}> = (props) => {
    return (
        <Button type="link" onClick={props.onClick}>
            <EditOutlined />编辑
        </Button>
    );
}